home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Sound Cards
/
Programming Sound Cards.iso
/
sound_09
/
adlplay.doc
< prev
next >
Wrap
Text File
|
1995-01-01
|
2KB
|
50 lines
Docs
ADLPLAY
J. Scally
June 89
I started out to write a series of routines to have some fun with the
adlib Card I had just purchased. I wanted to write them im QB because
I know that lots of people use it and would have more fun with the
card if they could control it. To my suprise it wasn't that hard to
write a player. Note** there are still a few small problems with this.
The Documentation on how you set pitch variations was particularly vague
and songs that vary pitch somtimes freak out.
Also this version just goes full speed ahead and loads all the voice ques
and then turns the card on. This is ok I have found for almost all of the
songs I have. If the .ROL file id more than about 10000 bytes however
"Events like instrument changes or volume adjustments can get missed with
sometimes humorous results. I am sure that I will clear this up as I progress.
Some Important Notes:
Included in this archive are:
ADLPLAY.BAS Main Qb File
Mstruct.H Include File containing structures
and definitions.
Sound.H SubRoutine Declarations Etc.
Tm.asm Assembler Interface to Adlib Driver.
Tm.obj Assembled version
Sound.Lib Sound and other Routines
Sound.qlb Qb Runtime Library
The program is currently set up to look for music .ROL files in
C:\MUSIC
and to find the .Ins files in
C:\MUSIC\INS
This however can easily be changed and future versions will be configurable.
Also, Make sure you have your B3000 parameter set when the sound driver is
loaded to allow maximum QueSize.
The Main thing is HAVE SOME FUN !!
J. Scally